//获取支付渠道银行卡列表

class BankCardListModel {
  String? bankCardNo;
  String? bankName;
  String? channel;
  int? id;
  String? plat;
   String? bindType;
  bool? isSelect;
  String?mobile;
  BankCardListModel({this.bankCardNo, this.bankName, this.channel, this.bindType,this.id, this.plat,this.isSelect = false,this.mobile});

  BankCardListModel.fromJson(Map<String, dynamic> json) {
    bankCardNo = json["bankCardNo"];
    bankName = json["bankName"];
    channel = json["channel"];
    id = json["id"];
    plat = json["plat"];
    bindType = json["bindType"];
     mobile = json["mobile"];
    isSelect = json["isSelect"] ?? false;
  }

  static List<BankCardListModel> fromList(List<Map<String, dynamic>> list) {
    return list.map(BankCardListModel.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["bankCardNo"] = bankCardNo;
    _data["bankName"] = bankName;
    _data["channel"] = channel;
    _data["id"] = id;
    _data["plat"] = plat;
    _data["bindType"] = bindType;
      _data["mobile"] = mobile;
     _data["isSelect"] = isSelect;
    return _data;
  }
}